<!DOCTYPE html>
<html>
<head>
    <@h.head />
	<title></title>
	<script type="text/javascript">

	</script>
</head>

<body>

<h2>【所有表单】</h2>
<hr>
<a href="${ctx}/smartform/form/edit/${templateCode}">添加表单</a>

<table border="1" >
   <tr>
   	 <th>操作</th>
   	 <th>templateName</th>
   	 <th>ID</th>
   	 <th>templateCode</th>
   	 <th>templateId</th>
   </tr>
   
<#list formList as frm>
   <tr>
   	 <td>
   	 	<a href="${ctx}/smartform/form/view/${frm['id']}">展示表单</a>&nbsp;
   	 	<a href="${ctx}/smartform/form/edit/${templateCode}?formId=${frm['id']}">编辑表单</a>
   	 	<a href="${ctx}/smartform/form/del/${frm['id']}">删除表单</a>&nbsp;
   	 </td>
  	 <td>${frm['templateName']!""}</td>
  	 <td>${frm['id']!""}</td>
  	 <td>${frm['templateCode']!""}</td>
  	 <td>${frm['templateId']!""}</td>
   </tr> 
</#list>
</table>

</body>
</html>
